<%-- 
    Document   : clientSMS
    Created on : 20-gen-2012, 9.42.56
    Author     : sestari
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<f:view>
    <html>
        <head>
            <link rel="stylesheet" type="text/css" href="../style_generale.css" />
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
            <f:loadBundle basename="message.message" var="msg"/>
            <title>Cliente SMS</title>
        </head>
        <body>                        
            <h1><h:outputText value="Client SMS"/></h1>
            <h:inputHidden id="pool_cc" value="#{pool.pool}"/>
            <h:inputHidden id="login" value="#{user.falogin()}"/>
            <h:form>
                Telefono:
                <h:selectOneMenu id="combo" value="#{beamClientSms.numero}"   onchange="submit()" immediate="true"  styleClass="buttoncomlu">
                    <f:selectItems value="#{beamClientSms.celulari}"  />
                </h:selectOneMenu>
                Visualizare:
                <h:selectBooleanCheckbox value="#{beamClientSms.ceck}" /> 
                <br>
                <h:commandButton value="SMS" action="#{beamClientSms.sendSMS()}" styleClass="button"/>
            </h:form>                          
            <br>
            <br>
            XML:<br>
            <h:inputTextarea id="comments" value="#{beamClientSms.xml}" rows="30" cols="80" />
        </body>
    </html>
</f:view>
